package com.cheer.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel("日志展示")
@Data
public class OptLogShowParam {

    @ApiModelProperty("表名称")
    private String tableName;

    @ApiModelProperty("关键字")
    private String keyWord;

    @ApiModelProperty("操作人")
    private Integer operator;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty("当前页面")
    private Integer pageNumber;

    @ApiModelProperty("页面条数")
    private Integer pageSize;

}
